package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.pro.domain.entity.ActivityEntity;

import java.util.List;
import java.util.Map;

/**
 * @description: 公告
 * @Author: hongxiao
 * @date: 2019-03-25 14:10
 * @since v1.0
 */
public interface ActivityModel extends IModel<ActivityEntity> {
    @Override
    Integer insert(ActivityEntity entity);

    @Override
    Integer update(ActivityEntity entity);

    Integer save(ActivityEntity entity);

    Integer deleteByKey(Long key);

    ActivityEntity getByKey(Long key);

    @Override
    List<ActivityEntity> findEntitys(Map<String ,Object> param);

    @Override
    Integer getEntitysCount(Map<String ,Object>  param);
}
